package com.ruoyi.patrol.domain.dto;

import com.ruoyi.common.annotation.Excel;

import java.io.Serializable;
import java.util.Date;

/**
 * @author ：小杜
 * @date ：Created in 2023/5/13 22:00
 * @描述 ：
 */

public class PtLineGuardExcel implements Serializable {

    /**
     * 线路名称
     */
    @Excel(name = "线路名称")
    private String lineName;

    /**
     * 巡查日期
     */
    @Excel(name = "巡查日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date date;

    /**
     * 学校名称
     */
    @Excel(name = "学校名称")
    private String schoolName;

    /**
     * 安保人员
     */
    @Excel(name = "安保人员/小组")
    private String guardName;

    /**
     * 巡查状态：0、正常，1、异常，2、关闭（已处理），-1未开始巡查
     */
    @Excel(name = "巡查状态")
    private String patrolStatus;
    /**
     * 巡查结果：0、正常，大于0为异常的个数
     */
    @Excel(name = "巡查结果")
    private String patrolResult;

    public String getLineName() {
        return lineName;
    }

    public void setLineName(String lineName) {
        this.lineName = lineName;
    }

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }

    public String getSchoolName() {
        return schoolName;
    }

    public void setSchoolName(String schoolName) {
        this.schoolName = schoolName;
    }

    public String getGuardName() {
        return guardName;
    }

    public void setGuardName(String guardName) {
        this.guardName = guardName;
    }

    public String getPatrolStatus() {
        return patrolStatus;
    }

    public void setPatrolStatus(String patrolStatus) {
        this.patrolStatus = patrolStatus;
    }

    public String getPatrolResult() {
        return patrolResult;
    }

    public void setPatrolResult(String patrolResult) {
        this.patrolResult = patrolResult;
    }

    @Override
    public String toString() {
        return "PtLineStaffExcel{" +
                "lineName='" + lineName + '\'' +
                ", date=" + date +
                ", schoolName='" + schoolName + '\'' +
                ", staffName='" + guardName + '\'' +
                ", patrolStatus='" + patrolStatus + '\'' +
                ", patrolResult='" + patrolResult + '\'' +
                '}';
    }
}
